package com.itheima.tlias84.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class SelectClazzDTO {
    //序号
    private Integer id;
    //班级名称
    private String name;
    //班级教室
    private String room;
    //班主任
    private String masterName;
    //开课时间
    private LocalDate beginDate;
    //结课时间
    private LocalDate endDate;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
